package com.yjk.mall.product.feign;

import com.yjk.common.to.SkuLadderTo;
import com.yjk.common.to.SpuBoundsTo;
import com.yjk.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("mall-coupon")
public interface CouponFeignService {
    @RequestMapping("/coupon/skuladder/save")
    R saveSkuLadder(@RequestBody SkuLadderTo to);

    @RequestMapping("coupon/spubounds/save")
    // //@RequiresPermissions("coupon:spubounds:save")
    R saveSpuBounds(@RequestBody SpuBoundsTo to);
}
